package com.designpatterns.creational.simpleFactory;

/**
 * 饼状图类，充当具体产品类
 */
public class PieChart implements Chart{
    public PieChart() {
        System.out.println("创建饼状图");
    }

    public void display() {
        System.out.println("显示饼状图");
    }
}
